home *** CD-ROM | disk | FTP | other *** search
/ La Traviata / La Traviata.iso / viewer / grabsc11.zip / MAKEFILE.TC < prev    next >
Text File  |  1990-11-28  |  829b  |  58 lines

  1. #
  2. # This make file is for the GrabScrn utility for TC++1.0 (Using Ansi though).
  3. #
  4. #                Gershon Elber, Sep. 1990
  5. #
  6.  
  7.  
  8. # Works only on TC++ 1.0 make - swap out make before invoking command.
  9. .SWAP
  10.  
  11. # Your C compiler, assembler and linker
  12. CC = tcc
  13. ASM = tasm
  14. LNK = tlink
  15.  
  16. #
  17. # CC flags
  18. #
  19. CFLAGS = -mt -a- -f- -G -O -r -c -d -w -v- -y-
  20. # CFLAGS = -mt -a- -f- -c -d -w -v -y
  21.  
  22. #
  23. # ASM flags
  24. #
  25. AFLAGS = /mx
  26.  
  27. #
  28. # Linker flags
  29. #
  30. LFLAGS = /x/c
  31. # LFLAGS = /v/c
  32.  
  33. #
  34. # Libs to link with
  35. #
  36. LIBS = c:\tc\lib\cs.lib
  37.  
  38.  
  39. OBJS =  tsr.obj grabscrn.obj
  40.  
  41. .c.obj:
  42.     $(CC) $(INC) $(CFLAGS) $<
  43. .asm.obj:
  44.     $(ASM) $(AFLAGS) $<
  45.  
  46. grabscrn.exe: $(OBJS)
  47.     $(LNK) @&&!
  48. c:\tc\lib\c0t+
  49. $(OBJS)
  50. grabscrn.exe
  51. grabscrn.map
  52. $(LIBS)
  53. !$(LFLAGS)
  54.     exe2bin grabscrn.exe grabscrn.com
  55.     del grabscrn.exe
  56.  
  57. grabscrn.obj:    tsr.h
  58.